#ifndef FND_GAME_RACING_DEMO_ROOM_H
#define FND_GAME_RACING_DEMO_ROOM_H
#include "main_game_shell.h"

class demo_room_logic_shell : public game_logic_shell {
public:
    demo_room_logic_shell() ;
    void update(float time_elapsed) ;
    void on_add_client(HCLIENT hclient) ;
    void on_message(HCLIENT hSender, ILTMessage_Read* pMessage) ;
    void poststart_world(){}
    void on_remove_client(HCLIENT){}
    void on_server_term() {}
    void on_client_exit_world(HCLIENT){}

    LPBASECLASS on_client_enter_world(HCLIENT hClient) ;
    void on_object_message(LPBASECLASS pSender,
                           uint32 messageID,
                           ILTMessage_Read* pMsg) ;

    
private:
    void send_demo_camera_position_rotation(HCLIENT) ;
    void respond_pause_car_message(server_message_param_type) ;
    LPBASECLASS m_car ;
    float m_rotateSpeed ;
    bool m_pause_car ;
    
} ;
#endif
